<style>
  .radio-style {
    width: 80px;
    height: 30px;
  }
</style>
<template>
  <div>
    <RadioGroup v-model="contentValue" type="button" @on-change="changeContent">
      <!-- <Radio label="H5" class="radio-style" style="padding-left: 30px"></Radio> -->
      <Radio label="图文" class="radio-style" style="padding-left: 25px"></Radio>
      <Radio label="视频" class="radio-style" style="padding-left: 25px"></Radio>
    </RadioGroup>
  </div>
</template>
<script>
export default {
  name: 'ContentRadio',
  props: {
    value: ''
  },
  data () {
    return {
      contentValue: this.value
    }
  },
  methods: {
    changeContent (value) {
      this.$emit('change-content', value)
    }
  }
}
</script>
